package com.open.capacity.reimburse.service;

import com.open.capacity.reimburse.entity.BillCarApply1;

import com.open.capacity.commons.PageResult;

import java.util.Map;
import java.util.List;

/**
 * 公务车借车申请
 *
 * @author
 * @email
 * @date 2021-03-18 15:47:38
 */
public interface BillCarApply1Service {
    /**
     * 添加
     *
     * @param billBusinesstrip2
     */
    int save(BillCarApply1 bill);

    /**
     * 修改
     *
     * @param billBusinesstrip2
     */
    int update(BillCarApply1 bill);
    /**
     * 还车
     *
     * @param billCarApply
     */
    int back(BillCarApply1 billCarApply, String keyValue);


    /**
     * 查询记录
     *
     * @param id
     * @return
     */
    BillCarApply1 findById(String id);

    /**
     * 分页
     *
     * @param params
     * @return
     */
    PageResult<BillCarApply1> pageAll(Map<String, Object> params);

    /**
     * 列表
     *
     * @param params
     * @return
     */
    List<BillCarApply1> findAll(Map<String, Object> params);
}

